@extends('wap/layout/master')
@section('title')
    充值说明
@stop
@section('style')
    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
        }
        .container {
            background: #f6fafd;
        }
        .btn a {
            display: block;
            text-decoration: none;
            background: #00b3f9;
            height:12vw;
            text-align: center;
            line-height: 12vw;
            color: #fff;
            font-size: 18px;
        }
        .panel {
            padding: 4%;
            background: #fff;
            margin-top: 10px;
        }
        .panel-title {
            font-size: 18px;
            margin-bottom: 20px;
            border-left: 10px solid #3d94ff;
            padding: 0 0 0 10px;
        }
        .panel-body {
            color: #686868;
        }
        .tb {
            text-align: center;
            width: 100%;
            border-top: 1px solid #ddd;
            border-left: 1px solid #ddd;
        }
        .tb th, .tb td {
            border-right: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
        }
    </style>
@stop
@section('content')
    <div class="container">
        <div>
            <img src="/html/instruction/img/main.png" width="100%" style="display: block;">
        </div>

        <div class="panel">
            <h3 style="text-align: center">折扣选择超丰富</h3>
            <div style="width: 80%; margin-left: 10%;">
                <table cellspacing="0" cellpadding="10" class="tb">
                    <thead>
                    <th>充值套餐</th>
                    <th>限时优惠折扣</th>
                    </thead>
                    <tbody>
                    @foreach ($recharge as $item)
                        <tr>
                            <td>{{$item->months}}个月</td>
                            <td>{{$item->discount * 10}}折</td>
                        </tr>
                    @endforeach
                    </tbody>
                </table>
            </div>
        </div>
        <div class="btn">
            <a href="redirect://oilcard:8888/recharge">去充值</a>
        </div>
    </div>
@stop
@section('javascript')

@stop